package com.yonyou.brigade.third_parties.ctrip.bigcustomer.service;

import com.yonyou.brigade.third_parties.ctrip.bigcustomer.model.CtripBigUser;
import com.baomidou.mybatisplus.service.IService;
import com.yonyou.ybzboot.uc.dto.UcUserDto;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiangzhf@yonyou.com
 * @since 2018-08-17
 */
public interface ICtripBigUserService extends IService<CtripBigUser> {

    List<CtripBigUser> findNeedAsynUsersByListAuth(List<String> userIds);

    List<CtripBigUser> findCtripUserListForUpdate(List<String> userIds);

    void insertCtripUserBatch(List<CtripBigUser> ctripUsers);

    List<String> selectUserIdByDept(List<String> list);

    List<CtripBigUser> findNoSyncBigUser(Map params);

    void syncCtripBigUsers(String tenant, String orgPk);

    void syncCtripBigUsers(String tenant, String orgPk, List<UcUserDto> ucUserDtos);
}
